package 类和对象;

public class Test_4_11 {
    public static void main(String[] args) {

        Car c1 = new Car();
        c1.sc = "奔驰";
        c1.num = 16.8;
        c1.sor();
        c1.sra();

        Car c2 = new Car();
        c2.sc = "宝马";
        c2.num = 66.6;
        c2.sor();
        c2.sra();

        System.out.println(c1);
        System.out.println(c2);
    }
}
